/* ==========================================================================
   WHALES HOMEPAGE — GLOBAL UNIFIED CINEMATIC OCEAN & NEON SYSTEM
   One Continuous Ocean Environment, Volumetric Surface Light,
   Dynamic Cursor-Illumination, Unified Neon-Line Cards,
   and Integrated Institutional Trading Instruments.
   ========================================================================== */

:root {
  --whales-page-gutter: clamp(32px, 4vw, 64px);

  /* Continuous Deep Ocean Palette (Strictly Inherited from Hero: #020811) */
  --whales-ocean-black: #01050d;
  --whales-ocean-0: #020811;
  --whales-ocean-1: #020b17;
  --whales-ocean-2: #031022;
  --whales-ocean-3: #04152d;
  --whales-ocean-depth: #020914;

  --whales-cyan: #00e5ff;
  --whales-cyan-bright: #38bdf8;
  --whales-cyan-ice: #7dd3fc;
  --whales-cyan-glow: rgba(0, 229, 255, 0.35);
  --whales-cyan-dim: rgba(0, 229, 255, 0.12);
  --whales-cyan-faint: rgba(0, 229, 255, 0.04);

  --whales-gold: #f59e0b;
  --whales-gold-bright: #fbbf24;
  --whales-gold-glow: rgba(245, 158, 11, 0.35);
  --whales-gold-dim: rgba(245, 158, 11, 0.12);

  --whales-emerald: #10b981;
  --whales-ruby: #f43f5e;

  /* Shared Cinematic Card Design System (Strictly matching Hero's .hero-market-panel) */
  --whales-card-bg: rgba(2, 10, 22, 0.60);
  --whales-card-bg-hover: rgba(3, 14, 30, 0.78);
  --whales-card-border: rgba(0, 229, 255, 0.12);
  --whales-card-border-hover: rgba(0, 229, 255, 0.28);
  --whales-card-radius: 6px;
  --whales-card-shadow: 0 12px 32px -8px rgba(0, 3, 10, 0.75);

  --whales-text-main: #ffffff;
  --whales-text-muted: rgba(203, 213, 225, 0.72);
  --whales-text-faint: rgba(203, 213, 225, 0.45);

  --whales-font-serif: 'Cinzel', 'Times New Roman', serif;
  --whales-font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --whales-font-mono: 'Rajdhani', monospace, sans-serif;

  --whales-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   01 — GLOBAL CONTINUOUS HOMEPAGE BACKGROUND & ATMOSPHERE
   Seamless Deep Ocean Environment continuing from Hero (#020811)
   ========================================================================== */
.whales-landing-flow {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg,
    #020811 0%,
    #020b17 14%,
    #031022 30%,
    #04152d 50%,
    #031022 70%,
    #020a17 88%,
    #01050e 100%
  );
  color: var(--whales-text-main);
  overflow-x: clip;
}

/* Global Fixed/Absolute Volumetric Sunlight Backdrop */
.whales-ocean-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Downward Volumetric Sunshafts & Caustics */
.ocean-sunshafts {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(0, 229, 255, 0.045) 0%, transparent 60%),
    radial-gradient(ellipse 80% 35% at 20% 30%, rgba(56, 189, 248, 0.025) 0%, transparent 55%),
    radial-gradient(ellipse 85% 40% at 80% 60%, rgba(0, 229, 255, 0.025) 0%, transparent 55%),
    radial-gradient(ellipse 80% 45% at 50% 85%, rgba(245, 158, 11, 0.02) 0%, transparent 60%);
  opacity: 0.9;
}

/* Continuous Volumetric Light Beams */
.ocean-light-beam {
  position: absolute;
  top: 0;
  width: 340px;
  height: 180vh;
  background: linear-gradient(150deg, rgba(0, 229, 255, 0.035) 0%, rgba(56, 189, 248, 0.01) 50%, transparent 100%);
  filter: blur(60px);
  transform: rotate(-16deg);
  transform-origin: top center;
  animation: beamSway 20s ease-in-out infinite alternate;
}
.ocean-light-beam--1 { left: 10%; animation-delay: 0s; }
.ocean-light-beam--2 { right: 14%; width: 400px; animation-delay: -7s; }
.ocean-light-beam--3 { left: 50%; width: 280px; animation-delay: -11s; }

@keyframes beamSway {
  0% { opacity: 0.35; transform: rotate(-18deg) translateY(0); }
  100% { opacity: 0.75; transform: rotate(-13deg) translateY(30px); }
}

/* Subtle Continuous Oceanic Depth Layers */
.ocean-depth-silhouettes {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 18%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 65% 50%, rgba(0, 180, 216, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 50% 82%, rgba(229, 184, 105, 0.05) 0%, transparent 55%);
  pointer-events: none;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

/* Chapter-reactive atmospheric lighting (Section 07: Global Scroll Atmosphere) */
.whales-landing-flow[data-active-chapter="flow"] .ocean-sunshafts {
  opacity: 1;
  filter: brightness(1.08);
}

.whales-landing-flow[data-active-chapter="surface"] .ocean-depth-silhouettes {
  opacity: 1.1;
  filter: contrast(1.08);
}

.whales-landing-flow[data-active-chapter="risk"] .ocean-sunshafts {
  filter: saturate(0.96) brightness(1.03);
}

.whales-landing-flow[data-active-chapter="system"] .ocean-light-beam {
  filter: blur(45px) brightness(1.22);
}

.whales-landing-flow[data-active-chapter="join"] .ocean-sunshafts {
  filter: brightness(1.15);
}

/* ==========================================================================
   02 — CONTINUOUS OCEANIC ATMOSPHERE & LIVING DATA TRAILS
   Sparse Bioluminescent Particles & Flowing Financial Signal Paths
   Strictly NO Grid, NO Cyberpunk Terminal, NO Cursor Spotlight
   ========================================================================== */
.global-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   03 — UNIFIED NEON CARD COMPONENT SYSTEM
   Thin Neon-Line Border That Tracks the Cursor Position
   ========================================================================== */
.whales-neon-card {
  position: relative;
  background: var(--whales-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 9px;
  border: 1px solid var(--whales-card-border);
  box-shadow: var(--whales-card-shadow);
  transition: transform 0.28s var(--whales-ease-out), box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  will-change: transform;
}

/* 1. Dynamic Cursor-Tracking Neon Border Glow */
.whales-neon-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  padding: 1.5px;
  background: radial-gradient(
    280px circle at var(--card-mouse-x, -500px) var(--card-mouse-y, -500px),
    rgba(0, 229, 255, 0.95) 0%,
    rgba(0, 229, 255, 0.45) 35%,
    rgba(0, 229, 255, 0.12) 60%,
    transparent 75%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.whales-neon-card:hover::before {
  opacity: 1;
}

/* 2. Dynamic Internal Radial Illumination following cursor */
.whales-neon-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--card-mouse-x, -500px) var(--card-mouse-y, -500px),
    rgba(0, 229, 255, 0.09) 0%,
    rgba(4, 45, 95, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.whales-neon-card:hover::after {
  opacity: 1;
}

.whales-neon-card:hover {
  background: var(--whales-card-bg-hover);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 20px 48px -12px rgba(0, 229, 255, 0.25);
}

/* Gold Variant for Priority Items */
.whales-neon-card--gold {
  border-color: rgba(229, 184, 105, 0.24);
}

.whales-neon-card--gold::before {
  background: radial-gradient(
    280px circle at var(--card-mouse-x, -500px) var(--card-mouse-y, -500px),
    rgba(229, 184, 105, 0.95) 0%,
    rgba(229, 184, 105, 0.45) 35%,
    transparent 70%
  );
}

.whales-neon-card--gold::after {
  background: radial-gradient(
    320px circle at var(--card-mouse-x, -500px) var(--card-mouse-y, -500px),
    rgba(229, 184, 105, 0.09) 0%,
    transparent 70%
  );
}

.whales-neon-card--gold:hover {
  border-color: rgba(229, 184, 105, 0.6);
  box-shadow: 0 20px 48px -12px rgba(229, 184, 105, 0.25);
}

/* ==========================================================================
   04 — CONTINUOUS SECTION ARCHITECTURE (CENTERED CINEMATIC CONTAINER)
   Tightened Heights, Natural Centering & Seamless Atmospheric Continuity
   ========================================================================== */
.cinematic-chapter {
  position: relative;
  min-height: clamp(700px, 86vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-inline: 0 !important;
  padding-block: clamp(80px, 11vh, 140px);
  box-sizing: border-box;
  z-index: 2;
  width: 100%;
}

.chapter--market-flow {
  padding-block: clamp(80px, 11vh, 140px);
  min-height: clamp(700px, 86vh, 940px);
}

.chapter--under-surface {
  padding-block: clamp(100px, 14vh, 160px);
  min-height: clamp(800px, 92vh, 1020px);
}

.chapter--risk-control {
  padding-block: clamp(100px, 14vh, 160px);
  min-height: clamp(800px, 92vh, 1020px);
}

.chapter--the-system {
  padding-block: clamp(80px, 11vh, 140px);
  min-height: clamp(700px, 86vh, 940px);
}

.chapter--join-portal {
  padding-block: clamp(80px, 11vh, 140px) 50px;
  min-height: auto;
}

.chapter--ecosystem {
  padding-block: clamp(80px, 11vh, 140px);
  min-height: clamp(700px, 86vh, 940px);
}

.chapter--faq {
  padding-block: clamp(80px, 11vh, 140px);
  min-height: clamp(700px, 86vh, 940px);
}

/* Balanced, Centered Layout Across All Desktop & Ultrawide Screens (Inheriting Hero Rail) */
.chapter-container {
  position: relative;
  width: 100%;
  max-width: var(--whales-container-max, 1440px) !important;
  padding-inline: var(--whales-container-padding, clamp(24px, 4vw, 48px)) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  z-index: 2;
}

[dir="rtl"] .chapter-container,
body[dir="rtl"] .chapter-container {
  margin-inline: auto !important;
}

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(360px, 480px) 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

/* Editorial Typography */
.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--whales-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whales-cyan);
  margin-bottom: 20px;
}

.editorial-eyebrow .eyebrow-num {
  color: var(--whales-cyan);
}

.editorial-eyebrow .eyebrow-slash {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

.editorial-eyebrow .eyebrow-text {
  color: #e2e8f0;
}

.editorial-eyebrow--gold {
  color: var(--whales-gold);
}
.editorial-eyebrow--gold .eyebrow-num {
  color: var(--whales-gold);
}

.editorial-title {
  font-family: var(--whales-font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.editorial-title-accent {
  display: block;
  color: var(--whales-cyan);
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.editorial-title-gold {
  display: block;
  color: var(--whales-gold);
  text-shadow: 0 0 25px rgba(229, 184, 105, 0.5);
}

.editorial-desc {
  font-family: var(--whales-font-sans);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--whales-text-muted);
  max-width: 440px;
  margin: 0 0 32px 0;
  font-weight: 400;
}

/* ==========================================================================
   05 — SECTION 02: MARKET FLOW (اقرأ تدفق السيولة)
   ========================================================================== */
.flow-telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.flow-telemetry-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
}

.flow-telemetry-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--whales-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.flow-telemetry-label {
  font-family: var(--whales-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
}

.flow-telemetry-val {
  margin-left: auto;
  font-family: var(--whales-font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--whales-cyan);
}

body[dir="rtl"] .flow-telemetry-val {
  margin-left: 0;
  margin-right: auto;
}

.flow-telemetry-val--green {
  color: var(--whales-emerald);
}

.flow-telemetry-info {
  display: flex;
  flex-direction: column;
}

/* Micro Motion Visual: Animated Waveform */
.micro-waveform {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}
body[dir="rtl"] .micro-waveform {
  margin-left: 0;
  margin-right: auto;
}
.micro-waveform span {
  width: 2.5px;
  background: var(--whales-cyan);
  border-radius: 1px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}
.micro-waveform span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.micro-waveform span:nth-child(2) { height: 14px; animation-delay: 0.25s; }
.micro-waveform span:nth-child(3) { height: 8px; animation-delay: 0.4s; }
.micro-waveform span:nth-child(4) { height: 16px; animation-delay: 0.15s; }
.micro-waveform span:nth-child(5) { height: 10px; animation-delay: 0.3s; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1.1); opacity: 1; }
}

/* Micro Motion Visual: Moving Pulse Line */
.micro-pulse-tracker {
  margin-left: auto;
  position: relative;
  width: 38px;
  height: 12px;
  display: flex;
  align-items: center;
}
body[dir="rtl"] .micro-pulse-tracker {
  margin-left: 0;
  margin-right: auto;
}
.micro-pulse-tracker .pulse-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 229, 255, 0.25);
}
.micro-pulse-tracker .pulse-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 8px var(--whales-cyan);
  animation: pulseDotMove 2s ease-in-out infinite alternate;
}
@keyframes pulseDotMove {
  0% { left: 0%; opacity: 0.3; }
  100% { left: 88%; opacity: 1; }
}

/* Micro Motion Visual: Shield Radar */
.micro-shield-radar {
  margin-left: auto;
  position: relative;
  width: 20px;
  height: 20px;
}
body[dir="rtl"] .micro-shield-radar {
  margin-left: 0;
  margin-right: auto;
}
.shield-arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}
.shield-arc--1 {
  inset: 0;
  border-top-color: var(--whales-emerald);
  animation: radarArcSpin 3s linear infinite;
}
.shield-arc--2 {
  inset: 4px;
  border-bottom-color: var(--whales-emerald);
  animation: radarArcSpin 2s linear infinite reverse;
}
@keyframes radarArcSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Expanded Flow Field Micro Data Badges */
.flow-micro-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: rgba(4, 18, 38, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 4px;
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.flow-micro-badge--depth {
  top: 18%;
  right: 14%;
  color: var(--whales-cyan);
}
body[dir="rtl"] .flow-micro-badge--depth {
  right: auto;
  left: 14%;
}
.flow-micro-badge--depth .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 6px var(--whales-cyan);
  animation: badgeBlink 1.5s infinite;
}
@keyframes badgeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.flow-micro-badge--spread {
  bottom: 22%;
  left: 14%;
  color: var(--whales-text-muted);
}
body[dir="rtl"] .flow-micro-badge--spread {
  left: auto;
  right: 14%;
}
.flow-micro-badge--spread .badge-v {
  color: var(--whales-gold);
  font-weight: 700;
}



.flow-micro-coord {
  position: absolute;
  bottom: 12px;
  right: 20px;
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  pointer-events: none;
}
body[dir="rtl"] .flow-micro-coord {
  right: auto;
  left: 20px;
}

/* Visual Stage: Canvas Streamlines + Central XAUUSD Liquidity Node */
.flow-visual-stage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

/* Integrated Cinematic Market Telemetry Overlay (Hero-Consistent) */
.flow-market-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 440px;
  padding: 16px 20px;
  background: var(--whales-card-bg);
  border: 1px solid var(--whales-card-border);
  border-radius: var(--whales-card-radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -10px rgba(0, 4, 14, 0.8), 0 0 24px rgba(0, 229, 255, 0.05);
  transition: transform 0.28s var(--whales-ease-out), border-color 0.28s ease, box-shadow 0.28s ease;
}

.flow-market-overlay:hover {
  border-color: var(--whales-card-border-hover);
  box-shadow: 0 20px 44px -10px rgba(0, 4, 14, 0.9), 0 0 30px rgba(0, 229, 255, 0.12);
}

.flow-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.flow-asset-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-gold-gem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--whales-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.flow-asset-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.flow-asset-sym {
  font-family: var(--whales-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.flow-asset-sub {
  font-family: var(--whales-font-sans);
  font-size: 0.68rem;
  color: var(--whales-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--whales-emerald);
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 4px;
}

.flow-status-live .status-pulse-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 8px var(--whales-emerald);
  animation: badgeBlink 1.5s infinite;
}

.flow-overlay-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.flow-price-val {
  font-family: var(--whales-font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}

.flow-price-delta {
  font-family: var(--whales-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--whales-emerald);
}

.flow-mini-sparkline {
  margin-left: auto;
  width: 90px;
  height: 22px;
  display: flex;
  align-items: center;
}

body[dir="rtl"] .flow-mini-sparkline {
  margin-left: 0;
  margin-right: auto;
}

.flow-mini-sparkline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flow-overlay-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  font-family: var(--whales-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.flow-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.flow-meta-pill .k {
  color: var(--whales-text-faint);
}

.flow-meta-pill .v {
  color: #ffffff;
  font-weight: 700;
}

.flow-meta-pill .v--gold {
  color: var(--whales-gold);
}

.flow-meta-pill .v--cyan {
  color: var(--whales-cyan);
}

.flow-meta-sep {
  color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   06 — SECTION 03: UNDER SURFACE (السوق تحت السطح — الشارت ثلاثي الأبعاد)
   ========================================================================== */
.surface-capability-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 26px;
}

.surface-cap-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  cursor: pointer;
}

.surface-cap-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid rgba(229, 184, 105, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whales-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.surface-cap-k {
  font-family: var(--whales-font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

.surface-cap-sep {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--whales-font-mono);
}

.surface-cap-v {
  font-family: var(--whales-font-sans);
  font-size: 0.84rem;
  color: var(--whales-text-muted);
}

/* 3D Holographic Chart Stage Floating in the Ocean */
.hologram-chart-stage {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hologram-box {
  position: relative;
  width: 100%;
  max-width: 680px !important;
  margin-inline-start: auto;
  height: 440px !important;
  transform: perspective(1400px) rotateY(-4deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--whales-ease-out), box-shadow 0.4s ease;
}

.hologram-chart-stage:hover .hologram-box {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.holo-chart-surface {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(5, 25, 54, 0.88) 0%, rgba(2, 12, 28, 0.95) 50%, rgba(1, 7, 18, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(0, 229, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 40px rgba(0, 229, 255, 0.05);
  overflow: hidden;
}

.holo-chart-backdrop {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0, 229, 255, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 60% 40%, rgba(0, 229, 255, 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.holo-chart-backdrop::before,
.holo-chart-backdrop::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.12);
  pointer-events: none;
}
.holo-chart-backdrop::before { top: 38%; }
.holo-chart-backdrop::after { top: 68%; }

/* Pro Terminal OHLC Top Bar */
.holo-ohlc-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 12, 28, 0.92);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 6;
}

.holo-ohlc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.holo-asset-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.asset-gold-gem {
  color: var(--whales-gold);
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(229, 184, 105, 0.6));
}

.holo-ohlc-bar .ohlc-sym {
  font-family: var(--whales-font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.holo-live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  padding: 2px 7px;
  font-size: 0.62rem;
  color: var(--whales-emerald);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.holo-live-beacon .live-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: liveBeaconPulse 1.8s infinite;
}

.holo-ohlc-mid {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--whales-font-mono);
  font-size: 0.70rem;
  color: rgba(226, 232, 240, 0.75);
}

.holo-ohlc-mid .ohlc-stat {
  display: inline-flex;
  gap: 4px;
}

.holo-ohlc-mid .ohlc-stat .lbl {
  color: var(--whales-cyan);
  font-weight: 700;
}

.holo-ohlc-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.holo-ohlc-right .ohlc-delta {
  font-family: var(--whales-font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--whales-emerald);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.holo-depth-tag {
  font-family: var(--whales-font-mono);
  font-size: 0.62rem;
  color: var(--whales-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.08em;
}

/* Real Financial Chart Canvas (Lightweight Charts) */
.holo-real-chart-canvas {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 32px;
  width: 100%;
  height: calc(100% - 78px);
  z-index: 3;
}

/* Timeframe Picker in Top Bar */
.holo-timeframe-picker {
  display: inline-flex;
  align-items: center;
  direction: ltr !important;
  gap: 2px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 6px;
  padding: 2px;
  margin-inline-start: 6px;
}

.holo-tf-btn {
  background: transparent;
  border: none;
  color: rgba(203, 213, 225, 0.7);
  font-family: var(--whales-font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.holo-tf-btn:hover {
  color: #ffffff;
  background: rgba(0, 229, 255, 0.14);
}

.holo-tf-btn.is-active {
  color: #020c1b !important;
  background: #00e5ff !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
  font-weight: 800;
}

/* Scan Line Sweep */
.holo-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.6) 50%, transparent 100%);
  filter: blur(1px);
  animation: holoScanSweep 6s linear infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes holoScanSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* High-Tech HUD Reticle & Floating Price Pill */
.holo-hud-reticle {
  position: absolute;
  left: 76%;
  top: 32%;
  z-index: 5;
  pointer-events: none;
}

.reticle-sonar-ring {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--whales-cyan);
  transform: translate(-50%, -50%);
  animation: reticleSonarPulse 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.reticle-core-pip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px var(--whales-cyan), 0 0 20px var(--whales-cyan);
  transform: translate(-50%, -50%);
}

.holo-hud-price-pill {
  position: absolute;
  transform: translate(-50%, -100%);
  margin-top: -16px;
  background: rgba(2, 14, 34, 0.94);
  border: 1px solid var(--whales-cyan);
  border-radius: 8px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 229, 255, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.pill-sym-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--whales-font-mono);
  font-size: 0.62rem;
}

.pill-badge-sym {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pill-badge-delta {
  color: var(--whales-emerald);
  font-weight: 800;
}

.pill-price-val {
  font-family: var(--whales-font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.pill-sub-txt {
  font-family: var(--whales-font-mono);
  font-size: 0.55rem;
  color: var(--whales-cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Bottom Terminal Status Bar */
.holo-terminal-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(1, 8, 20, 0.94);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  font-family: var(--whales-font-mono);
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 5;
}

.status-metric span {
  color: var(--whales-cyan);
  margin-right: 4px;
}

.status-metric b {
  color: #ffffff;
}

.flow-bull {
  color: var(--whales-emerald) !important;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

@keyframes reticleSonarPulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

@keyframes liveBeaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* RTL Specific Overrides for Section 03 Terminal */
body[dir="rtl"] .holo-price-axis {
  right: auto;
  left: 14px;
}
body[dir="rtl"] .holo-level-line--resistance,
body[dir="rtl"] .holo-level-line--support {
  right: 0;
  left: 80px;
  padding-right: 0;
  padding-left: 14px;
}
body[dir="rtl"] .holo-liquidity-zone {
  left: 80px;
  right: 30px;
}
body[dir="rtl"] .holo-hud-reticle {
  left: 24%;
}
body[dir="rtl"] .status-metric span {
  margin-right: 0;
  margin-left: 4px;
}

/* ==========================================================================
   07 — SECTION 04: RISK CONTROL (احكم السيطرة على المخاطر)
   ========================================================================== */
.risk-discipline-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.risk-step-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
}

.risk-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whales-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.risk-step-label {
  font-family: var(--whales-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Section 04 Supporting Risk Cards (Section 39) */
.risk-supporting-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.risk-metric-card {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.risk-metric-card .rm-k {
  font-family: var(--whales-font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
}

.risk-metric-card .rm-v {
  font-family: var(--whales-font-mono);
  font-size: 0.88rem;
  font-weight: 800;
}
.rm-v--cyan { color: var(--whales-cyan); }
.rm-v--gold { color: var(--whales-gold); }
.rm-v--green { color: var(--whales-emerald); }

.rm-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--whales-font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}
body[dir="rtl"] .rm-indicator {
  right: auto;
  left: 10px;
}
.rm-indicator.indicator--pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 6px var(--whales-cyan);
  animation: badgeBlink 1.5s infinite;
}
.rm-indicator.indicator--check {
  color: var(--whales-emerald);
}

.risk-ratio-tag {
  position: absolute;
  top: 24%;
  left: 54%;
  font-family: var(--whales-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--whales-cyan);
  background: rgba(4, 20, 44, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 3;
}

/* Floating Submerged Island Position Geometry */
.risk-island-stage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-island-stage::before {
  content: '';
  position: absolute;
  bottom: 25px;
  width: 85%;
  height: 100px;
  background: radial-gradient(ellipse 65% 50% at 50% 100%, rgba(0, 229, 255, 0.12) 0%, rgba(4, 28, 60, 0.05) 60%, transparent 80%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 1;
}

.risk-geometry-box {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 380px;
}

.risk-island-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* 1. ENTRY (Amber Glowing Node) */
.risk-tag-entry {
  position: absolute;
  top: 40%;
  left: 36%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.risk-dot-entry {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--whales-gold);
  box-shadow: 0 0 16px var(--whales-gold);
  border: 2px solid #ffffff;
  margin-top: 6px;
}

.risk-pill-entry {
  font-family: var(--whales-font-mono);
  background: rgba(4, 20, 44, 0.9);
  border: 1px solid var(--whales-gold);
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.risk-pill-entry .k { font-size: 0.65rem; color: var(--whales-gold); letter-spacing: 0.1em; }
.risk-pill-entry .v { font-size: 0.92rem; font-weight: 800; color: #ffffff; }

/* 2. PROTECTION (Crimson Zone) */
.risk-box-protection {
  position: absolute;
  top: 46%;
  left: 36%;
  width: 28%;
  height: 24%;
  background: rgba(244, 63, 94, 0.14);
  border: 1px dashed rgba(244, 63, 94, 0.65);
  border-radius: 4px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-pips-badge {
  font-family: var(--whales-font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--whales-ruby);
  background: rgba(244, 63, 94, 0.18);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(244, 63, 94, 0.45);
}

.risk-tag-protection {
  position: absolute;
  bottom: 22%;
  left: 32%;
  font-family: var(--whales-font-mono);
  background: rgba(4, 20, 44, 0.9);
  border: 1px solid var(--whales-ruby);
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  z-index: 4;
}

.risk-tag-protection .k { font-size: 0.65rem; color: var(--whales-ruby); letter-spacing: 0.1em; }
.risk-tag-protection .v { font-size: 0.92rem; font-weight: 800; color: #ffffff; }

/* 3. TARGET (Emerald Pillar & Top Pin) */
.risk-target-pillar {
  position: absolute;
  top: 10%;
  bottom: 24%;
  left: 64%;
  width: 2px;
  background: linear-gradient(180deg, var(--whales-emerald) 0%, rgba(16, 185, 129, 0.2) 100%);
  box-shadow: 0 0 15px var(--whales-emerald);
  z-index: 3;
}

.risk-tag-target {
  position: absolute;
  top: 8%;
  left: 64%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.risk-dot-target {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 18px var(--whales-emerald);
  border: 2px solid #ffffff;
  margin-top: 6px;
}

.risk-pill-target {
  font-family: var(--whales-font-mono);
  background: rgba(4, 20, 44, 0.9);
  border: 1px solid var(--whales-emerald);
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.risk-pill-target .k { font-size: 0.65rem; color: var(--whales-emerald); letter-spacing: 0.1em; }
.risk-pill-target .v { font-size: 0.92rem; font-weight: 800; color: #ffffff; }

/* Interactive Caliper Slider (Centered Horizontally at Bottom of Card) */
.risk-caliper-toolbar {
  position: absolute !important;
  bottom: 14px !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  transform: none !important;
  width: calc(100% - 64px) !important;
  max-width: 440px !important;
  padding: 8px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  z-index: 10 !important;
  background: rgba(2, 10, 24, 0.90) !important;
  border: 1px solid rgba(0, 229, 255, 0.28) !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 229, 255, 0.12) !important;
  box-sizing: border-box !important;
}

.risk-caliper-label {
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--whales-text-muted);
  white-space: nowrap;
  user-select: none;
}

.risk-caliper-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  direction: ltr !important;
  user-select: none;
  touch-action: none;
}

.risk-caliper-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--whales-cyan), var(--whales-gold));
  border-radius: 4px;
  width: 20%;
  position: relative;
  pointer-events: none;
}

.risk-caliper-handle {
  position: absolute;
  right: -7px;
  top: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px var(--whales-cyan);
  pointer-events: none;
}

.risk-caliper-val {
  font-family: var(--whales-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--whales-cyan);
  min-width: 44px;
  text-align: right;
  user-select: none;
}

[dir="rtl"] .risk-caliper-val,
body[dir="rtl"] .risk-caliper-val {
  text-align: left;
}

/* ==========================================================================
   08 — SECTION 05: THE WHALES SYSTEM (منظومة ويلز المتكاملة)
   ========================================================================== */
.system-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.system-header-centered .editorial-desc {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Citadel Stage Atmosphere */
.system-citadel-stage {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.citadel-celestial-beam {
  position: absolute;
  top: -120px;
  bottom: 0;
  width: 80px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.5) 0%, rgba(0, 229, 255, 0.05) 100%);
  filter: blur(18px);
  animation: beamBreathe 6s ease-in-out infinite alternate;
}

@keyframes beamBreathe {
  0% { opacity: 0.5; width: 65px; }
  100% { opacity: 0.98; width: 120px; }
}

/* Section 05 Connected Citadel Core & Network */
.system-citadel-core {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.citadel-core-node {
  background: rgba(2, 16, 38, 0.94);
  border: 1.5px solid var(--whales-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
  padding: 5px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.citadel-core-node .core-tag {
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.citadel-core-node .core-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 8px var(--whales-cyan);
  animation: badgeBlink 1.2s infinite;
}

.system-network-svg {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 90px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

.system-pedestals-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.system-pedestal-card {
  padding: 24px 18px 20px 18px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.system-pedestal-orb {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.system-orb-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25) 0%, transparent 70%);
  animation: orbGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes orbGlowPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.8; }
}

.system-orb-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.system-orb-icon--svg {
  width: 26px;
  height: 26px;
  color: var(--whales-cyan);
}

.system-pedestal-title {
  font-family: var(--whales-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.system-pedestal-desc {
  font-family: var(--whales-font-sans);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--whales-text-muted);
  margin: 0;
}

.pedestal-micro-indicator {
  margin-top: 10px;
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  color: var(--whales-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.indicator--data-pulse .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--whales-gold);
  box-shadow: 0 0 6px var(--whales-gold);
  animation: badgeBlink 1.4s infinite;
}

.indicator--academy-track {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.indicator--academy-track .track-bar {
  width: 40%;
  height: 100%;
  background: var(--whales-cyan);
  animation: trackBarSweep 2.5s ease-in-out infinite alternate;
}
@keyframes trackBarSweep {
  0% { transform: translateX(0%); }
  100% { transform: translateX(150%); }
}

.indicator--community-nodes {
  display: flex;
  gap: 3px;
}
.indicator--community-nodes span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--whales-cyan);
  animation: badgeBlink 1.8s infinite;
}
.indicator--community-nodes .cn2 { animation-delay: 0.4s; }
.indicator--community-nodes .cn3 { animation-delay: 0.8s; }

.indicator--support-signal .ping {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 6px var(--whales-emerald);
}

/* ==========================================================================
   09 — SECTION 06: JOIN WHALES (تحرّك مع نبض السوق — البوابة الذهبية)
   ========================================================================== */
.chapter--join-portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 40px;
}

.chapter--join-portal .chapter-grid {
  grid-template-columns: minmax(360px, 500px) 1fr;
  margin-bottom: 50px;
}

.join-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.join-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #00b4d8 0%, #00e5ff 100%);
  color: #010a18;
  font-family: var(--whales-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.45);
  transition: all 0.35s var(--whales-ease-out);
}

.join-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
  color: #000000;
}

.join-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: rgba(4, 20, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--whales-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.join-btn-secondary:hover {
  background: rgba(6, 28, 58, 0.9);
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--whales-cyan);
}

/* Celestial Horizon Portal Art */
.join-portal-stage {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-portal-ring {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(229, 184, 105, 0.45);
  box-shadow: 0 0 35px rgba(229, 184, 105, 0.25), inset 0 0 30px rgba(0, 229, 255, 0.15);
  animation: ringRotate 24s linear infinite;
}

.portal-ring-core {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
  animation: ringRotate 16s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portal-fluke-silhouette {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.7));
  animation: flukeHover 5s ease-in-out infinite alternate;
}

@keyframes flukeHover {
  0% { transform: translateY(6px) scale(0.97); }
  100% { transform: translateY(-6px) scale(1.03); }
}

.portal-rays-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, rgba(229, 184, 105, 0.08) 45%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

/* Floating Bottom Live Metrics Bar */
.join-metrics-bar {
  width: 100%;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-pill-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 20px;
}

.metric-pill-item:last-child {
  border-right: none;
  padding-right: 0;
}

body[dir="rtl"] .metric-pill-item {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 0;
  padding-left: 20px;
}

body[dir="rtl"] .metric-pill-item:last-child {
  border-left: none;
  padding-left: 0;
}

.metric-pill-icon {
  font-size: 1.25rem;
  color: var(--whales-gold);
}

.metric-pill-icon--cyan {
  color: var(--whales-cyan);
}

.metric-pill-data {
  display: flex;
  flex-direction: column;
}

.metric-pill-val {
  font-family: var(--whales-font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.metric-pill-val--cyan {
  color: var(--whales-cyan);
}

.metric-pill-val--gold {
  color: var(--whales-gold);
}

.metric-pill-lbl {
  font-family: var(--whales-font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ==========================================================================
   10 — AUXILIARY SECTIONS: PLANS & FAQ (UNIFIED NEON SYSTEM)
   ========================================================================== */
.whales-auxiliary-section {
  position: relative;
  padding: 100px 24px;
  z-index: 2;
}

.whales-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.whales-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--whales-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whales-cyan);
  margin-bottom: 16px;
}

.whales-eyebrow .eyebrow-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 8px var(--whales-cyan);
}

.whales-title {
  font-family: var(--whales-font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.whales-title-accent {
  color: var(--whales-cyan);
}

.whales-title-gold {
  color: var(--whales-gold);
}

.whales-subtitle {
  font-family: var(--whales-font-sans);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--whales-text-muted);
  margin: 0;
}

/* ==========================================================================
   09 — SECTION 07: THE WHALES ECOSYSTEM (ONE SYSTEM. EVERYTHING CONNECTED.)
   Central Intelligence Hub + 5 Connected Satellite Modules
   ========================================================================== */
.chapter--ecosystem {
  padding-block: clamp(48px, 6vh, 70px);
  min-height: 80vh;
}

.ecosystem-stage {
  position: relative;
  width: 100%;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Central Hub Visual Stage */
.ecosystem-hub-stage {
  position: relative;
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Central Hub Core */
.ecosystem-hub-core {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(2, 20, 44, 0.95) 0%, rgba(1, 8, 20, 0.98) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.28), inset 0 0 25px rgba(0, 229, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  padding: 16px;
  box-sizing: border-box;
  animation: coreBreathing 5s ease-in-out infinite alternate;
}

@keyframes coreBreathing {
  0% {
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.35);
  }
  100% {
    box-shadow: 0 0 70px rgba(0, 229, 255, 0.5), inset 0 0 35px rgba(0, 229, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.7);
  }
}

.ecosystem-core-brand {
  font-family: var(--whales-font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
  display: block;
}

.ecosystem-core-sub {
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--whales-cyan);
  margin-top: 4px;
}

.ecosystem-core-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  font-family: var(--whales-font-mono);
  font-size: 0.62rem;
  color: rgba(226, 241, 255, 0.85);
}

.ecosystem-core-pulse .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: badgeBlink 1.4s infinite;
}

/* SVG Energy Conduits Connecting Core to Modules */
.ecosystem-conduits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ecosystem-conduit-path {
  fill: none;
  stroke: rgba(0, 229, 255, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  transition: stroke 0.35s ease, stroke-width 0.35s ease, filter 0.35s ease;
}

.ecosystem-conduit-path.is-active {
  stroke: rgba(0, 229, 255, 0.85);
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.7));
}

/* 5 Connected Satellite Modules */
.ecosystem-modules-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  width: 100%;
  z-index: 2;
}

.ecosystem-module-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  cursor: pointer;
  min-height: 220px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecosystem-module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 16px 40px -10px rgba(0, 229, 255, 0.25);
}

.ecosystem-module-card.is-dimmed {
  opacity: 0.55;
  filter: saturate(0.7);
}

.module-num {
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--whales-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.module-icon {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.ecosystem-module-card:hover .module-icon {
  color: var(--whales-cyan);
  transform: scale(1.1);
}

.module-title {
  font-family: var(--whales-font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.module-desc {
  font-family: var(--whales-font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--whales-text-muted);
  margin: 0 0 16px 0;
}

.module-telemetry {
  margin-top: auto;
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  color: var(--whales-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.08em;
}

/* Compact Tier Access CTA Link Bar below Ecosystem */
.ecosystem-pricing-cta {
  margin-top: 36px;
  width: 100%;
  max-width: 820px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(2, 12, 28, 0.65);
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

.ecosystem-pricing-cta-text {
  font-family: var(--whales-font-sans);
  font-size: 0.88rem;
  color: var(--whales-text-muted);
  margin: 0;
}

.ecosystem-pricing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--whales-cyan);
  font-family: var(--whales-font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ecosystem-pricing-cta-btn:hover {
  background: var(--whales-cyan);
  color: #010a18;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
}

/* ==========================================================================
   10 — SECTION 08: FAQ (2-COLUMN EDITORIAL LAYOUT)
   Left: Anchored Editorial Rail / Right: Neon Accordion Stack
   ========================================================================== */
.chapter--faq {
  padding-block: clamp(48px, 6vh, 70px) 72px;
  min-height: 68vh;
}

.faq-editorial-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  width: 100%;
}

.faq-editorial-grid .editorial-title {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.12;
}

.faq-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item-card {
  padding: 22px 26px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-item-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

.faq-item-card.is-open {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(3, 14, 30, 0.82);
}

.faq-question-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question-title {
  font-family: var(--whales-font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.faq-chevron {
  color: var(--whales-cyan);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item-card.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--whales-ease-out), margin-top 0.3s ease;
}

.faq-item-card.is-open .faq-answer-block {
  max-height: 280px;
  margin-top: 16px;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  padding-top: 14px;
}

.faq-answer-text {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--whales-text-muted);
  margin: 0;
}

/* ==========================================================================
   11 — INTEGRATED DEEP-WATER FOOTER (INSTITUTIONAL HUD EDITION)
   Seamless ocean floor ending: Brand & Socials, Platform Suite, Mobile Apps, Legal & Privacy
   ========================================================================== */
body.landing .landing-footer {
  position: relative !important;
  background: linear-gradient(180deg, #020814 0%, #01040a 100%) !important;
  border-top: 1px solid rgba(0, 229, 255, 0.12) !important;
  padding-inline: 0 !important;
  padding-block: 56px 36px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 36px !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
  color: rgba(203, 213, 225, 0.78) !important;
  width: 100% !important;
  overflow: hidden !important;
}

.landing-footer .footer-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.5) 0%, transparent 65%);
  pointer-events: none;
}

.landing-footer .footer-primary-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1.05fr 1.25fr 1.45fr !important;
  gap: clamp(24px, 3.2vw, 48px) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: var(--whales-container-max, 1440px) !important;
  padding-inline: var(--whales-container-padding, clamp(24px, 4vw, 48px)) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .landing-footer .footer-primary-grid,
body[dir="rtl"] .landing-footer .footer-primary-grid {
  margin-inline: auto !important;
}

/* Zone Titles */
.footer-col-title {
  font-family: var(--whales-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--whales-cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px 0;
}

.footer-col-title i {
  font-size: 0.82rem;
  opacity: 0.85;
}

.footer-col-title.footer-title--gold {
  color: var(--whales-gold);
}

/* --------------------------------------------------------------------------
   COLUMN 1: BRAND LOGO & SOCIAL MEDIA
   -------------------------------------------------------------------------- */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-col .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-col .footer-brand-logo {
  width: 38px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.45));
}

.footer-brand-col .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand-col .brand-name {
  font-family: var(--whales-font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.footer-brand-col .brand-tagline {
  font-family: var(--whales-font-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(0, 229, 255, 0.85);
  margin-top: 2px;
}

.footer-brand-desc {
  font-family: var(--whales-font-sans);
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--whales-text-faint);
  margin: 0;
  max-width: 320px;
}

[dir="rtl"] .footer-brand-desc,
.rtl .footer-brand-desc {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.86rem;
}

/* Social Media Hub */
.footer-social-wrap {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-header-label {
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-header-label i {
  color: var(--whales-cyan);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-btn .social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(2, 10, 22, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 20;
}

.social-icon-btn:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-icon-btn.social--telegram:hover {
  border-color: #229ED9;
  color: #229ED9;
  background: rgba(34, 158, 217, 0.16);
  box-shadow: 0 0 18px rgba(34, 158, 217, 0.45);
  transform: translateY(-2px);
}

.social-icon-btn.social--instagram:hover {
  border-color: #E1306C;
  color: #E1306C;
  background: rgba(225, 48, 108, 0.16);
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.45);
  transform: translateY(-2px);
}

.social-icon-btn.social--facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.16);
  box-shadow: 0 0 18px rgba(24, 119, 242, 0.45);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   COLUMN 2: PLATFORM NAVIGATION & SUITE
   -------------------------------------------------------------------------- */
.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-links-list a {
  font-family: var(--whales-font-sans);
  font-size: 0.86rem;
  color: rgba(226, 241, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

[dir="rtl"] .footer-links-list a,
.rtl .footer-links-list a {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.88rem;
}

.footer-links-list a .link-icon {
  font-size: 0.78rem;
  color: var(--whales-cyan);
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

[dir="rtl"] .footer-links-list a:hover,
.rtl .footer-links-list a:hover {
  transform: translateX(-4px);
}

.footer-links-list a:hover .link-icon {
  opacity: 1;
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   COLUMN 3: MOBILE TERMINALS (APP STORE & GOOGLE PLAY)
   -------------------------------------------------------------------------- */
.footer-apps-col {
  display: flex;
  flex-direction: column;
}

.footer-apps-subtitle {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--whales-text-faint);
  margin: 0 0 16px 0;
}

[dir="rtl"] .footer-apps-subtitle,
.rtl .footer-apps-subtitle {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.82rem;
}

.footer-app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.app-download-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(6, 20, 42, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.app-download-card:hover {
  background: rgba(9, 32, 64, 0.95);
  border-color: var(--whales-cyan);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

.app-badge-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex: 1;
}

.app-badge-text .app-sub {
  font-family: var(--whales-font-mono);
  font-size: 0.6rem;
  color: var(--whales-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[dir="rtl"] .app-badge-text .app-sub,
.rtl .app-badge-text .app-sub {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.65rem;
}

.app-badge-text .app-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.app-dl-arrow {
  font-size: 0.8rem;
  color: var(--whales-cyan);
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-download-card:hover .app-dl-arrow {
  opacity: 1;
  transform: translateY(2px);
}

.app-badge-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  color: var(--whales-text-faint);
  letter-spacing: 0.06em;
}

.app-meta-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 6px var(--whales-emerald);
}

/* --------------------------------------------------------------------------
   COLUMN 4: REGULATORY, RISK WARNING & PRIVACY LINK
   -------------------------------------------------------------------------- */
.footer-legal-col {
  display: flex;
  flex-direction: column;
}

.footer-legal-text {
  font-family: var(--whales-font-sans);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--whales-text-faint);
  margin: 0 0 16px 0;
}

[dir="rtl"] .footer-legal-text,
.rtl .footer-legal-text {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-legal-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Standalone Privacy Policy & Terms Link Card */
.footer-policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.25);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.06);
}

.footer-policy-link:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--whales-cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.22);
  transform: translateY(-2px);
}

.policy-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-shield-icon {
  font-size: 1.15rem;
  color: var(--whales-cyan);
  flex-shrink: 0;
}

.policy-link-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.policy-link-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

[dir="rtl"] .policy-link-title,
.rtl .policy-link-title {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.86rem;
}

.policy-link-sub {
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  color: var(--whales-text-muted);
  margin-top: 3px;
}

[dir="rtl"] .policy-link-sub,
.rtl .policy-link-sub {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.68rem;
}

.policy-ext-icon {
  font-size: 0.8rem;
  color: var(--whales-cyan);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.footer-policy-link:hover .policy-ext-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

[dir="rtl"] .footer-policy-link:hover .policy-ext-icon,
.rtl .footer-policy-link:hover .policy-ext-icon {
  transform: translate(-2px, -2px);
}

/* Back to Top Button */
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 9px 16px;
  color: var(--whales-cyan);
  font-family: var(--whales-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

[dir="rtl"] .footer-back-to-top,
.rtl .footer-back-to-top {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.8rem;
}

.footer-back-to-top:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--whales-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   FOOTER BOTTOM BAR: COPYRIGHT & TELEMETRY
   -------------------------------------------------------------------------- */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--whales-container-max, 1440px) !important;
  padding-inline: var(--whales-container-padding, clamp(24px, 4vw, 48px)) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.bottom-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  color: var(--whales-text-faint);
  letter-spacing: 0.04em;
}

[dir="rtl"] .bottom-copy,
.rtl .bottom-copy {
  font-family: 'Tajawal', sans-serif !important;
}

.bottom-sep {
  color: rgba(255, 255, 255, 0.2);
}

.bottom-policy-link {
  color: var(--whales-cyan);
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.bottom-policy-link:hover {
  text-decoration: underline;
}

.bottom-telemetry-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  color: var(--whales-emerald);
  font-weight: 600;
  letter-spacing: 0.06em;
}

[dir="rtl"] .bottom-telemetry-badge,
.rtl .bottom-telemetry-badge {
  font-family: 'Tajawal', sans-serif !important;
}

.telemetry-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 6px var(--whales-emerald);
  animation: telemetryPulse 2s infinite;
}

@keyframes telemetryPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.bottom-tagline {
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  color: var(--whales-cyan);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   RESPONSIVE FOOTER ADAPTATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .landing-footer .footer-primary-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 32px !important;
  }
}

@media (max-width: 768px) {
  body.landing .landing-footer {
    padding-block: 42px 28px !important;
    gap: 28px !important;
  }

  .landing-footer .footer-primary-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer-bottom-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .footer-brand-desc {
    max-width: 100% !important;
  }
}

/* ==========================================================================
   13 — MASTER BLUEPRINT EXTENSIONS: CINEMATIC REBUILD SYSTEM
   ========================================================================== */

/* Section 02: Central Floating Liquidity Node */
.flow-central-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 154px;
  height: 154px;
  border-radius: 50% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: radial-gradient(circle at center, rgba(3, 14, 32, 0.95) 0%, rgba(1, 8, 20, 0.98) 100%) !important;
  border: 1.5px solid rgba(0, 229, 255, 0.45) !important;
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.22), inset 0 0 20px rgba(0, 229, 255, 0.1) !important;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.flow-central-node::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.28);
  animation: nodeOrbitPulse 10s linear infinite;
  pointer-events: none;
}

@keyframes nodeOrbitPulse {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.flow-central-node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--whales-cyan) !important;
  box-shadow: 0 0 55px rgba(0, 229, 255, 0.45), inset 0 0 25px rgba(0, 229, 255, 0.2) !important;
}

.flow-central-node .node-asset-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--whales-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--whales-text-muted);
}

.flow-central-node .status-pulse-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whales-cyan);
  box-shadow: 0 0 8px var(--whales-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

.flow-central-node .node-price-display {
  font-family: var(--whales-font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.flow-central-node .node-delta-display {
  font-family: var(--whales-font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--whales-cyan);
}



.holo-chart-seabed {
  position: absolute;
  bottom: -28px;
  left: 8%;
  right: 8%;
  height: 42px;
  background: radial-gradient(ellipse 65% 50% at 50% 50%, rgba(0, 229, 255, 0.18) 0%, rgba(1, 6, 16, 0.9) 60%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
}

/* Section 04: Side-by-Side Metric Pills */
.risk-pills-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}

.risk-pill-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  text-align: center;
  min-width: 0;
}

.risk-pill-badge .r-pill-k {
  font-family: var(--whales-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
}

.risk-pill-badge .r-pill-v {
  font-family: var(--whales-font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.r-pill-v.val-cyan { color: var(--whales-cyan); text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }
.r-pill-v.val-gold { color: var(--whales-gold); text-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.r-pill-v.val-green { color: var(--whales-emerald); text-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }

/* Section 04: Right Stage Dominant Position Visualization */
.risk-dominant-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-dominant-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 410px;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-position-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Position Badges */
.risk-pos-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--whales-font-mono);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.risk-pos-badge .badge-k {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-pos-badge .badge-v {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.risk-pos-badge.badge--target {
  top: 18%;
  left: 80%;
  transform: translate(-50%, -100%);
  margin-top: -6px;
  background: rgba(4, 28, 20, 0.92);
  border: 1px solid var(--whales-emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}
.risk-pos-badge.badge--target .badge-k { color: var(--whales-emerald); }

.risk-pos-badge.badge--entry {
  top: 52%;
  left: 48%;
  transform: translate(-50%, -100%);
  margin-top: -10px;
  background: rgba(14, 24, 44, 0.92);
  border: 1px solid var(--whales-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}
.risk-pos-badge.badge--entry .badge-k { color: var(--whales-cyan); }

.risk-pos-badge.badge--stop {
  top: 72%;
  left: 48%;
  transform: translate(-50%, 0);
  margin-top: 0;
  background: rgba(30, 8, 16, 0.92);
  border: 1px solid var(--whales-ruby);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}
.risk-pos-badge.badge--stop .badge-k { color: var(--whales-ruby); }

/* Interactive Caliper Slider Toolbar (Centered in Card & Clear of Stop Loss Badge) */
.risk-caliper-toolbar {
  position: absolute !important;
  bottom: 14px !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-inline: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 8px 20px !important;
  background: rgba(2, 10, 24, 0.90) !important;
  border: 1px solid rgba(0, 229, 255, 0.28) !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 10 !important;
  width: calc(100% - 64px) !important;
  max-width: 440px !important;
}

.risk-caliper-label {
  font-family: var(--whales-font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--whales-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.risk-caliper-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.risk-caliper-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--whales-cyan) 0%, var(--whales-gold) 100%);
  border-radius: 3px;
  pointer-events: none;
}

.risk-caliper-handle {
  position: absolute;
  right: -7px;
  top: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px var(--whales-cyan);
  cursor: grab;
}

.risk-caliper-val {
  font-family: var(--whales-font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--whales-cyan);
  min-width: 38px;
  text-align: right;
}

/* Section 05: Cinematic Scene Break */
.chapter--cinematic-break {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw) !important;
  padding-inline: 0 !important;
  padding-top: clamp(60px, 8vh, 90px) !important;
  padding-bottom: clamp(180px, 20vh, 230px) !important;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.cinematic-break-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.break-caustic-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
}

.break-whale-silhouette {
  position: absolute;
  top: 15%;
  right: 18%;
  opacity: 0.45;
  animation: whaleSwimFloat 18s ease-in-out infinite alternate;
}

@keyframes whaleSwimFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 12px) scale(1.03); }
  100% { transform: translate(-60px, -8px) scale(0.98); }
}

.break-mountain-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

.cinematic-break-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cinematic-break-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

body[dir="rtl"] .cinematic-break-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
}

.cinematic-break-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.78);
  max-width: 640px;
  margin: 0 auto;
}

/* Section 06: WHALES ECOSYSTEM (Orbital Constellation Hub) */
.chapter--ecosystem {
  padding-block: clamp(48px, 6vh, 72px);
  min-height: auto;
}

.orbital-ecosystem-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-constellation-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 520px;
}

.orbital-conduits-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.orbital-conduit-line {
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}

.orbital-conduit-line.is-active {
  stroke: var(--whales-cyan) !important;
  stroke-width: 3px !important;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.8));
}

/* Central Core Node */
.orbital-core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(3, 16, 36, 0.95) 0%, rgba(1, 8, 20, 0.98) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.35), inset 0 0 20px rgba(0, 229, 255, 0.15);
  z-index: 3;
}

.orbital-core-node .orbital-core-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.35);
  animation: coreRotateHalo 12s linear infinite;
  pointer-events: none;
}

@keyframes coreRotateHalo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbital-core-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.orbital-core-sub {
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--whales-cyan);
}

.orbital-core-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-family: var(--whales-font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--whales-emerald);
  letter-spacing: 0.1em;
}

.orbital-core-pulse .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--whales-emerald);
  box-shadow: 0 0 6px var(--whales-emerald);
  animation: badgeBlink 1.5s infinite;
}

/* Satellite Nodes */
.orbital-satellite-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  min-width: 170px;
  transition: transform 0.28s var(--whales-ease-out), border-color 0.28s ease, box-shadow 0.28s ease;
}

.orbital-satellite-node:hover {
  
  border-color: var(--whales-cyan) !important;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.35) !important;
}

.orbital-satellite-node .sat-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whales-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.orbital-satellite-node.whales-neon-card--gold .sat-icon-wrap--gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--whales-gold);
}

.orbital-satellite-node .sat-info {
  display: flex;
  flex-direction: column;
}

.orbital-satellite-node .sat-title {
  margin: 0;
  font-family: var(--whales-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.orbital-satellite-node .sat-title--gold {
  color: var(--whales-gold) !important;
}

.orbital-satellite-node .sat-desc {
  margin: 2px 0 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--whales-text-muted);
}

.sat-arrow {
  display: none;
}

.sat--top {
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
}

.sat--left {
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
}

.sat--right {
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
}

.sat--botleft {
  bottom: 4%;
  left: 6%;
}

.sat--botright {
  bottom: 4%;
  right: 6%;
}

/* Section 08: FINAL CTA (Move With The Market — Submerged Glowing Portal) */
.chapter--join-portal {
  padding-block: clamp(48px, 6vh, 72px);
  min-height: auto;
}

.final-cta-stage {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.12;
  margin: 10px 0 16px 0;
  text-transform: uppercase;
}

body[dir="rtl"] .final-cta-title {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
}

.final-cta-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(203, 213, 225, 0.78);
  max-width: 580px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Submerged Glowing Whales Emblem / Portal on Seabed */
.final-portal-seabed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  margin-top: 10px;
}

.seabed-portal-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-emblem-core {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 35px rgba(0, 229, 255, 0.55));
  animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
  0% { transform: scale(0.97); filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.4)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 0 45px rgba(0, 229, 255, 0.7)); }
}

.portal-upward-light {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 380px;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(0, 229, 255, 0.22) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  filter: blur(16px);
}

.portal-bedrock-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 40px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 4, 14, 0.95) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

/* ==========================================================================
   14 — RESPONSIVE DESIGN (DESKTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
  .chapter-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .hologram-box {
    margin-inline: auto !important;
    max-width: 540px !important;
  }
  .orbital-constellation-box {
    margin-inline: auto !important;
  }
  .ecosystem-modules-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .ecosystem-modules-row .ecosystem-module-card:last-child {
    grid-column: span 2;
  }
  .landing-footer .footer-primary-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
  .footer-legal-col {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flow-telemetry-list,
  .surface-capability-stack,
  .risk-discipline-stack {
    max-width: 480px;
  }
  .join-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-pill-item:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  body[dir="rtl"] .metric-pill-item:nth-child(2) {
    border-left: none;
    padding-left: 0;
  }
  .faq-editorial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .cinematic-chapter {
    padding-inline: var(--whales-page-gutter) !important;
    padding-block: 56px 40px !important;
    min-height: auto;
  }
  .editorial-title {
    font-size: 2.1rem;
  }
  .flow-visual-stage,
  .risk-island-stage {
    height: 340px;
  }
  .hologram-chart-stage {
    height: 380px !important;
  }
  .hologram-box {
    height: 360px !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .holo-ohlc-mid {
    display: none !important;
  }
  .holo-terminal-status .status-metric:last-child {
    display: none;
  }
  .system-pedestals-row {
    grid-template-columns: 1fr;
  }
  .system-pedestals-row .system-pedestal-card:last-child {
    grid-column: span 1;
  }
  .ecosystem-modules-row {
    grid-template-columns: 1fr;
  }
  .ecosystem-modules-row .ecosystem-module-card:last-child {
    grid-column: span 1;
  }

  /* -------------------------------------------------------------------------
     Section 06: WHALES ECOSYSTEM — Mobile Streamlined Interactive Hub
     Eliminates absolute-coordinate collisions and creates luxury fintech card list
     ------------------------------------------------------------------------- */
  .orbital-ecosystem-stage {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 16px !important;
  }

  .orbital-constellation-box {
    position: relative !important;
    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Hide desktop-only fixed SVG conduits on mobile */
  .orbital-conduits-svg {
    display: none !important;
  }

  /* Central WHALES CORE Node on Mobile */
  .orbital-core-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 120px !important;
    height: 120px !important;
    margin: 4px auto 26px auto !important;
    flex-shrink: 0 !important;
    background: radial-gradient(circle at center, rgba(3, 16, 36, 0.98) 0%, rgba(1, 8, 20, 0.99) 100%) !important;
    border: 1.5px solid rgba(0, 229, 255, 0.6) !important;
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.35), inset 0 0 18px rgba(0, 229, 255, 0.2) !important;
  }

  /* Core radar aura pulse */
  .orbital-core-node::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.25);
    animation: mobileCoreRotate 16s linear infinite;
    pointer-events: none;
  }

  /* Downward glowing conduit beam connecting core to cards */
  .orbital-core-node::after {
    content: '';
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.75) 0%, rgba(0, 229, 255, 0.15) 100%);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  }

  /* Satellite Module Cards on Mobile */
  .orbital-satellite-node {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 13px 16px !important;
    box-sizing: border-box !important;
    background: rgba(4, 15, 30, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 229, 255, 0.22) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  }

  .orbital-satellite-node:hover,
  .orbital-satellite-node:active {
    transform: translateY(-2px) !important;
    background: rgba(6, 22, 45, 0.88) !important;
    border-color: var(--whales-cyan) !important;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.22) !important;
  }

  .orbital-satellite-node.whales-neon-card--gold {
    border-color: rgba(245, 158, 11, 0.32) !important;
  }

  .orbital-satellite-node.whales-neon-card--gold:hover,
  .orbital-satellite-node.whales-neon-card--gold:active {
    border-color: var(--whales-gold) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.22) !important;
  }

  .orbital-satellite-node .sat-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    flex-shrink: 0 !important;
  }

  .orbital-satellite-node .sat-info {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .orbital-satellite-node .sat-title {
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .orbital-satellite-node .sat-desc {
    font-size: 0.72rem !important;
    margin-top: 3px !important;
    line-height: 1.35 !important;
    color: rgba(203, 213, 225, 0.82) !important;
  }

  /* Chevron navigation indicator on cards */
  .orbital-satellite-node .sat-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    color: var(--whales-cyan) !important;
    font-size: 11px !important;
    opacity: 0.65 !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
  }

  .orbital-satellite-node .sat-arrow.sat-arrow--gold {
    color: var(--whales-gold) !important;
  }

  .orbital-satellite-node:hover .sat-arrow,
  .orbital-satellite-node:active .sat-arrow {
    opacity: 1 !important;
    transform: translateX(3px) !important;
  }

  /* RTL Support for Arabic */
  [dir="rtl"] .orbital-satellite-node .sat-arrow,
  .rtl .orbital-satellite-node .sat-arrow {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  [dir="rtl"] .orbital-satellite-node:hover .sat-arrow,
  .rtl .orbital-satellite-node:hover .sat-arrow,
  [dir="rtl"] .orbital-satellite-node:active .sat-arrow,
  .rtl .orbital-satellite-node:active .sat-arrow {
    transform: translateX(-3px) !important;
  }

  [dir="rtl"] .orbital-satellite-node .sat-title,
  .rtl .orbital-satellite-node .sat-title {
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
  }

  [dir="rtl"] .orbital-satellite-node .sat-desc,
  .rtl .orbital-satellite-node .sat-desc {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 0.76rem !important;
  }
  .landing-footer .footer-primary-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-legal-col {
    grid-column: span 1;
  }
  .ecosystem-pricing-cta {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 20px;
  }
  .join-metrics-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metric-pill-item {
    border-right: none !important;
    border-left: none !important;
    padding: 0 !important;
  }
}

@keyframes mobileCoreRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Live gold presentation and stable, anchored ecosystem interactions. */
.holo-real-chart-canvas .tradingview-widget-container,
.holo-real-chart-canvas .tradingview-widget-container__widget,
.holo-real-chart-canvas iframe { width: 100%; height: 100%; border: 0; }
.holo-chart-message { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--whales-text-muted); background: #031321; font-size: .85rem; }
.holo-chart-retry { min-height: 44px; padding: 8px 20px; border: 1px solid var(--whales-cyan); border-radius: 6px; color: var(--whales-cyan); background: rgba(0,229,255,.08); cursor: pointer; }
.holo-live-beacon[data-gold-state="closed"], .holo-live-beacon[data-gold-state="stale"] { color: var(--whales-gold); border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.08); }
.holo-live-beacon[data-gold-state="unavailable"] { color: var(--whales-text-muted); border-color: rgba(148,163,184,.3); background: rgba(148,163,184,.08); }
[data-gold-state]:not([data-gold-state="open"]) .live-pip,
[data-gold-state]:not([data-gold-state="open"]) .status-pulse-pip { animation: none; background: currentColor; box-shadow: none; }
.holo-terminal-status { gap: 10px; }
.holo-terminal-status .status-metric { min-width: 0; white-space: nowrap; }
.risk-example-note { max-width: 480px; margin: 18px 0 0; font-size: .74rem; line-height: 1.8; color: var(--whales-text-muted); }
.risk-example-status { position: absolute; inset-block-start: 12px; inset-inline-start: 14px; z-index: 5; max-width: 56%; margin: 0; font-family: var(--whales-font-mono); font-size: .65rem; line-height: 1.6; color: var(--whales-text-muted); overflow-wrap: anywhere; }
.risk-pos-badge.badge--target { top: 20.588%; left: 80.645%; }
.risk-pos-badge.badge--entry { top: 60.294%; left: 48.387%; }
.risk-pos-badge.badge--stop { top: 73.529%; left: 48.387%; }
.risk-caliper-input { position: absolute; inset-inline: 0; top: -19px; height: 44px; width: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; direction: ltr; touch-action: pan-y; }
.risk-caliper-track:focus-within { outline: 2px solid var(--whales-cyan); outline-offset: 6px; }
#risk-control[aria-busy="true"] .risk-pos-badge .badge-v,
#risk-control[aria-busy="true"] #risk-pill-exp,
#risk-control[aria-busy="true"] #risk-pill-rr { opacity: .55; }
.orbital-satellite-node.sat--top:is(:hover, :focus-visible, :active) { transform: translateX(-50%); }
.orbital-satellite-node.sat--left:is(:hover, :focus-visible, :active),
.orbital-satellite-node.sat--right:is(:hover, :focus-visible, :active) { transform: translateY(-50%); }
.orbital-satellite-node.sat--botleft:is(:hover, :focus-visible, :active),
.orbital-satellite-node.sat--botright:is(:hover, :focus-visible, :active) { transform: none; }
.orbital-satellite-node:focus-visible { outline: 2px solid var(--whales-cyan); outline-offset: 5px; }
.orbital-satellite-node:hover .sat-icon-wrap, .orbital-satellite-node:focus-visible .sat-icon-wrap { background: rgba(0,229,255,.2); box-shadow: 0 0 12px rgba(0,229,255,.18); }
.orbital-satellite-node.whales-neon-card--gold:hover,
.orbital-satellite-node.whales-neon-card--gold:focus-visible { border-color: var(--whales-gold) !important; box-shadow: 0 0 28px rgba(245,158,11,.25) !important; }
.orbital-satellite-node.whales-neon-card--gold:hover .sat-icon-wrap,
.orbital-satellite-node.whales-neon-card--gold:focus-visible .sat-icon-wrap { background: rgba(245,158,11,.2); box-shadow: 0 0 12px rgba(245,158,11,.18); }
@media (max-width: 767px) {
  .orbital-satellite-node:hover, .orbital-satellite-node:active { transform: none !important; }
  .holo-ohlc-bar { flex-wrap: wrap; height: auto; min-height: 76px; gap: 5px; padding: 8px; }
  .holo-ohlc-left { width: 100%; flex-wrap: wrap; gap: 6px; }
  .holo-ohlc-mid, .holo-ohlc-right { min-width: 0; gap: 6px; }
  .holo-real-chart-canvas { top: 86px; bottom: 58px; height: auto; }
  .holo-terminal-status { height: 58px; padding: 8px; flex-wrap: wrap; justify-content: flex-start; gap: 5px 12px; font-size: .58rem; }
  .risk-caliper-toolbar { gap: 8px !important; padding: 8px 12px !important; width: calc(100% - 24px) !important; }
  .risk-caliper-label { max-width: 42%; white-space: normal; font-size: .58rem; }
  .risk-pos-badge { gap: 4px; padding: 5px 7px; }
  .risk-pos-badge .badge-k { font-size: .55rem; }
  .risk-pos-badge .badge-v { font-size: .7rem; letter-spacing: 0; }
}
